var SpatialComponent = function(){
	this.name = "spatial";
	this.position = Vector.Zero(2);
	this.orientation;
	
	this.getX = function(){
	return this.position.elements[0];
	}
	this.getY = function(){
	return this.position.elements[1];
	}
	
	this.setX = function(val){
	this.position.elements[0] = Math.round(val);
	}
	this.setY = function(val){
	this.position.elements[1] = Math.round(val);
	}	
}